const Base = require('./base.js');

module.exports = class extends Base {
  /**
   * index action
   * @return {Promise} []
   */
  async indexAction() {
    return this.success([
      {
        "id": 6,
        "icon": "icon-denglvlingpai",
        "label": "系统管理",
        "name": "系统管理",
        "parentId": -1,
        "path": "/sys",
        "permission": null,
        "sort": 999,
        "type": 0,
        "children": [
          {
            "id": 2,
            "icon": "icon-yonghuguanli",
            "label": "管理员管理",
            "name": "管理员管理",
            "parentId": 1,
            "path": "/admin/user/index",
            "permission": null,
            "sort": 10,
            "type": 0,
            "children": []
          },
          {
            "id": 8,
            "icon": "icon-canshu",
            "label": "系统设置",
            "name": "系统设置",
            "parentId": 9,
            "path": "/admin/set/set",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
          {
            "id": 10,
            "icon": "icon-navicon-zdgl",
            "label": "字典管理",
            "name": "字典管理",
            "parentId": 1,
            "path": "/admin/dict/index",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
          {
            "id": 22,
            "icon": "icon-rizhiguanli",
            "label": "首页轮播图",
            "name": "首页轮播图",
            "parentId": 9,
            "path": "/admin/set/banner",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
        ]
      },

      {
        "id": 71,
        "icon": "icon-canshu",
        "label": "人物管理",
        "name": "人物管理",
        "parentId": -1,
        "path": "/service",
        "permission": null,
        "sort": 999,
        "type": 0,
        "children": [
          {
            "id": 19,
            "icon": "icon-navicon-zdgl",
            "label": "核心身份标签",
            "name": "核心身份标签",
            "parentId": 9,
            "path": "/admin/identity/index",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
          {
            "id": 15,
            "icon": "icon-fensiguanli",
            "label": "标签管理",
            "name": "标签管理",
            "parentId": 6,
            "path": "/admin/tags/index",
            "permission": null,
            "sort": 100,
            "type": 0,
            "children": []
          },
          {
            "id": 5,
            "icon": "icon-navicon-zdgl",
            "label": "人物数据管理",
            "name": "人物数据管理",
            "parentId": -1,
            "path": "/admin/figure/index",
            "permission": null,
            "sort": 11,
            "type": 0,
            "children": []
          },
          
        ]
      },
      
      
      {
        "id": 81,
        "icon": "icon-navicon-zdgl",
        "label": "文章管理",
        "name": "文章管理",
        "parentId": -1,
        "path": "/news",
        "permission": null,
        "sort": 999,
        "type": 0,
        "children": [{
            "id": 23,
            "icon": "icon-rizhiguanli",
            "label": "文章轮播图",
            "name": "文章轮播图",
            "parentId": 9,
            "path": "/admin/news/banner",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
          {
            "id": 22,
            "icon": "icon-wendang",
            "label": "文章栏目",
            "name": "文章栏目",
            "parentId": 9,
            "path": "/admin/news/cate",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
          {
            "id": 24,
            "icon": "icon-caidanguanli",
            "label": "文章列表",
            "name": "文章列表",
            "parentId": 9,
            "path": "/admin/news/list",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          }
          
        ]
      },
      {
        "id": 91,
        "icon": "icon-guiji",
        "label": "活动管理",
        "name": "活动管理",
        "parentId": -1,
        "path": "/activity",
        "permission": null,
        "sort": 999,
        "type": 0,
        "children": [
          {
            "id": 22,
            "icon": "icon-zhifuqudaoguanli",
            "label": "活动列表",
            "name": "活动列表",
            "parentId": 9,
            "path": "/admin/activity/list",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
          {
            "id": 22,
            "icon": "icon-fensiguanli",
            "label": "报名列表",
            "name": "报名列表",
            "parentId": 9,
            "path": "/admin/activity/apply",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          }
          
        ]
      },
      {
        "id": 92,
        "icon": "icon-yonghuguanli",
        "label": "用户管理",
        "name": "用户管理",
        "parentId": -1,
        "path": "/staff",
        "permission": null,
        "sort": 999,
        "type": 0,
        "children": [
          {
            "id": 7,
            "icon": "icon-mysql",
            "label": "用户列表",
            "name": "用户列表",
            "parentId": 92,
            "path": "/admin/staff/index",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
          {
            "id": 27,
            "icon": "icon-shouyintai",
            "label": "认证申请",
            "name": "认证申请",
            "parentId": 92,
            "path": "/admin/staff/auth",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
          {
            "id": 37,
            "icon": "icon-pay6zhifu",
            "label": "支付记录",
            "name": "支付记录",
            "parentId": 92,
            "path": "/admin/staff/payLog",
            "permission": null,
            "sort": 999,
            "type": 0,
            "children": []
          },
        ]
      },
      {
        "id": 16,
        "icon": "icon-miyue",
        "label": "对接申请",
        "name": "对接申请",
        "parentId": -1,
        "path": "/admin/task/manage",
        "permission": null,
        "sort": 999,
        "type": 0,
        "children": []
      },


      
      
      // {
      //   "id": 9,
      //   "icon": "icon-shouji",
      //   "label": "服务费管理",
      //   "name": "服务费管理",
      //   "parentId": -1,
      //   "path": "/pay",
      //   "permission": null,
      //   "sort": 999,
      //   "type": 0,
      //   "children": [
      //     {
      //       "id": 19,
      //       "icon": "icon-navicon-zdgl",
      //       "label": "服务费管理",
      //       "name": "服务费管理",
      //       "parentId": 9,
      //       "path": "/admin/pay/manage",
      //       "permission": null,
      //       "sort": 999,
      //       "type": 0,
      //       "children": []
      //     },
      //     {
      //       "id": 20,
      //       "icon": "icon-wendang",
      //       "label": "发放查询",
      //       "name": "发放查询",
      //       "parentId": 9,
      //       "path": "/admin/pay/search",
      //       "permission": null,
      //       "sort": 999,
      //       "type": 0,
      //       "children": []
      //     },
      //     {
      //       "id": 21,
      //       "icon": "icon-shouyintai",
      //       "label": "服务费审核",
      //       "name": "服务费审核",
      //       "parentId": 9,
      //       "path": "/admin/pay/audio",
      //       "permission": null,
      //       "sort": 999,
      //       "type": 0,
      //       "children": []
      //     },
      
      //   ]
      // }
    ]);
  }
};
